package com.haiyan.demo.problem03;

public class Dog extends Animal {
    public Dog() {
    }

    public Dog(String name, String sex, int age, String color) {
        super(name, sex, age, color);
    }

    @Override
    public void eat() {
        System.out.println("狗吃狗粮");
    }

    @Override
    public void sleep() {
        System.out.println("狗睡觉");
    }

    @Override
    public void call() {
        System.out.println("狗汪汪叫");
    }
}
